import {defHttp} from '/@/utils/http/axios';
import { useMessage } from "/@/hooks/web/useMessage";

const { createConfirm } = useMessage();

enum Api {
  attApplyResultTodoTask = '/attendance/attApplyResult/todoTask',
  attAskforleaveAudits = '/attendance/attAskforleave/audits',
  attScheduleSwaprecAudit = '/attendance/attScheduleSwaprec/audit',
  attEventRegEventProcess = '/attendance/attEventReg/eventProcess',
  attReissueReissueProcess = '/attendance/attReissue/reissueProcess',
}
/**
 * 列表接口
 * @param params
 */
export const attApplyResultTodoTask = (params) =>{
 return defHttp.get({url: Api.attApplyResultTodoTask, params});
}

export const attAskforleaveAudits = (params) =>{
 return defHttp.post({url: Api.attAskforleaveAudits, params});
}

export const attScheduleSwaprecAudit = (params) =>{
 return defHttp.post({url: Api.attScheduleSwaprecAudit, params});
}

export const attEventRegEventProcess = (params) =>{
 return defHttp.post({url: Api.attEventRegEventProcess, params});
}

export const attReissueReissueProcess = (params) =>{
  return defHttp.post({url: Api.attReissueReissueProcess, params});
 }
 

